Skip to main content

DirectoryQ

DirectoryQ["name"] gives True if the directory with the specified name exists, and gives False otherwise.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.